package com.itjeffrey.autocode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itjeffrey.autocode.bo.req.MockInterfaceBO;
import com.itjeffrey.autocode.common.Result;
import com.itjeffrey.autocode.entity.MockInterfaceTbEntity;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.List;

/**
 * 服务接口
 * @author: admin
 * @date: 2020-12-28 23:56:08
 */
public interface MockInterfaceTbService extends IService<MockInterfaceTbEntity> {

    Result add(MockInterfaceBO mockInterfaceBO);

    Result mod(@Valid MockInterfaceBO mockInterfaceBO);

    Result del(String id);

    Result queryOne(String id);

    Result queryList(MockInterfaceBO mockInterfaceBO);

    Result debugEntry(MockInterfaceBO mockInterfaceBO);

    void itfExport(List<MockInterfaceBO> mockInterfaceBOS, HttpServletResponse response);
}